package org.polaris.authority.service;

import org.polaris.authority.domain.Role;
import org.polaris.authority.dto.RolePermissionDTO;
import org.polaris.authority.dto.SetRoleDTO;
import org.polaris.authority.query.RoleQuery;
import org.polaris.basic.service.IBaseService;
import org.polaris.basic.tool.PageResult;

import java.io.Serializable;
import java.util.List;

public interface IRoleService extends IBaseService<Role> {

    Role selectBySn(String sn);


    void setRolePermission(RolePermissionDTO dto);

    List<String> getRolePermissionSns(Long roleId);

    void setRoles(SetRoleDTO dto);

    List<Long> getEmpRoles(Long eId);
}
